package com.mimosa.common.view;

import org.apache.commons.lang3.StringUtils;

public class EasyUiPage {
	private Integer page = Integer.valueOf(1);
	private Integer rows = Integer.valueOf(10);
	private String order = StringUtils.EMPTY;
	private String orderBy = StringUtils.EMPTY;

	public Integer getPage() {
		return Integer.valueOf(this.page.intValue() - 1);
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getRows() {
		return this.rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	public String getOrder() {
		return this.order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getOrderBy() {
		return this.orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}
}